package com.gzist.elderlyserviceplatform.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 活动报名列表VO
 */
@Data
@Schema(description = "活动报名列表VO")
public class ActivityRegistrationVO {
    @Schema(description = "主键id")
    private String id;

    @Schema(description = "活动 ID，关联 activity 表的 id")
    private String activityId;

    @Schema(description = "活动名称")
    private String activityName;

    @Schema(description = "联系方式")
    private String contact;

    @Schema(description = "报名时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime registrationDate;

    @Schema(description = "报名人 ID，关联 user 表的 id")
    private String userId;

    @Schema(description = "报名人名称")
    private String userName;

    @Schema(description = "审核状态")
    private String reviewStatus;

    @Schema(description = "审核意见")
    private String reviewOpinion;

    @Schema(description = "删除标记")
    private String delFlag;

}
